local fn = vim.fn
local install_path = fn.stdpath('data')..'/site/pack/packer/start/packer.nvim'
if fn.empty(fn.glob(install_path)) > 0 then
  packer_bootstrap = fn.system({'git', 'clone', '--depth', '1', 'wbthomason/packer.nvim', install_path})
end

return require('packer').startup(function()
    -- Packer can manage itself
    use 'wbthomason/packer.nvim'

    use 'glepnir/dashboard-nvim'

    use 'liuchengxu/vim-clap'

    use 'marko-cerovac/material.nvim'
    use 'morhetz/gruvbox'
    use 'rakr/vim-one'
    
    use 'kyazdani42/nvim-web-devicons'

    use {'akinsho/bufferline.nvim', tag = "v2.*", requires = 'kyazdani42/nvim-web-devicons'}
    use { 'feline-nvim/feline.nvim', branch = '0.5-compat' }
    
    use {
      'kyazdani42/nvim-tree.lua',
      requires = {
        'kyazdani42/nvim-web-devicons', -- optional, for file icons
      },
    }

    use {
      'nvim-treesitter/nvim-treesitter',
      run = ':TSUpdate',
    }

    use {
      'neoclide/coc.nvim',
      branch = 'release',
    }

    use {
      'mg979/vim-visual-multi',
      branch = 'master',
    }

    use 'liuchengxu/vista.vim'

end)
